package com.moyuwanjia.mapper.impl;

import com.moyuwanjia.mapper.IUserMapper;
import com.moyuwanjia.pojo.User;

/**
 * @author 摸鱼丸加~
 * @create 2022-04-19 11:21
 * 持久层接口
 */
public class IUserMapperImpl implements IUserMapper {
    private int i = 1;
    /**
     *
     * @param user
     * @return
     */
    public Integer save_User(User user) {
        return i;
    }

//    演示bean对象的生命周期
    public void init(){
        System.out.println("对象创建了。。。");
    }
    public void destroy(){
        System.out.println("对象销毁了。。。");
    }
}
